# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=ytfzf
pkgver=2.6.2
pkgrel=0
pkgdesc="Posix script to find and watch Youtube videos from the terminal"
url="https://github.com/pystardust/ytfzf"
arch="noarch"
license="GPL-3.0-only"
depends="curl jq"
subpackages="$pkgname-doc"
source="https://github.com/pystardust/ytfzf/archive/v$pkgver/ytfzf-$pkgver.tar.gz"
install="$pkgname.post-install"

check() {
	./ytfzf --version
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install doc addons
}

sha512sums="
9c2d6d6fbd6a21385531523401c113b681d8fd3e3bc0f6566730e0de55a4e70a4d86bebced7cdf472cb145cc1247b79b25ba502ec7a79aee0d89ad816ba434ef  ytfzf-2.6.2.tar.gz
"
